package com.ruoyi.driver.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 司机营业额对象 tb_driver_turnover
 * 
 * @author ruoyi
 * @date 2025-08-27
 */
public class TbDriverTurnover extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 营业额主键ID */
    @Excel(name = "营业额主键ID")
    private Integer turnoverId;

    /** 司机ID */
    @Excel(name = "司机ID")
    private Integer driverId;

    /** 营业额日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "营业额日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date current_Time;

    /** 营业额 */
    @Excel(name = "营业额")
    private BigDecimal driverPrice;

    public void setTurnoverId(Integer turnoverId) 
    {
        this.turnoverId = turnoverId;
    }

    public Integer getTurnoverId() 
    {
        return turnoverId;
    }

    public void setDriverId(Integer driverId) 
    {
        this.driverId = driverId;
    }

    public Integer getDriverId() 
    {
        return driverId;
    }

    public void current_Time(Date current_Time )
    {
        this.current_Time = current_Time;
    }

    public Date getCurrent_Time()
    {
        return current_Time;
    }

    public void setDriverPrice(BigDecimal driverPrice) 
    {
        this.driverPrice = driverPrice;
    }

    public BigDecimal getDriverPrice() 
    {
        return driverPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("turnoverId", getTurnoverId())
            .append("driverId", getDriverId())
            .append("currentTime", getCurrent_Time())
            .append("driverPrice", getDriverPrice())
            .toString();
    }
}
